<?php
namespace app\api\controller;

use app\api\model\CustomerCase as CustomerCaseModel;
use app\lib\exception\DataMissException;


/**
 * 客户
 */
class Customer
{
	
	/**
	 * 获取客户案例
	 */	
	public function getCustomerCase()
	{
		$case = CustomerCaseModel::getCase();

		if(!$case) {
		    throw new DataMissException([
		    	'msg' => '请求的客户案例数据不存在'
		    ]);
        }

		return $case;
	}
}
